-
Notifications
You must be signed in to change notification settings - Fork 159
switch to use snapshots.insert instead of disks.createsnapshot #1940
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Skipping CI for Draft Pull Request. |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: pwschuurman The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/ok-to-test |
/retest |
/assign @amacaskill |
/retest |
/retest pull-gcp-compute-persistent-disk-csi-driver-kubernetes-integration |
@pwschuurman: The
The following commands are available to trigger optional jobs:
Use
In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
/retest |
1 similar comment
/retest |
/test pull-gcp-compute-persistent-disk-csi-driver-kubernetes-integration |
3e1aef5
to
69842a2
Compare
/test pull-gcp-compute-persistent-disk-csi-driver-kubernetes-integration |
69842a2
to
19cce11
Compare
/test pull-gcp-compute-persistent-disk-csi-driver-kubernetes-integration |
@pwschuurman: The following test failed, say
Full PR test history. Your PR dashboard. Please help us cut down on flakes by linking to an open issue when you hit one in your PR. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here. |
/test pull-gcp-compute-persistent-disk-csi-driver-kubernetes-integration |
7 similar comments
/test pull-gcp-compute-persistent-disk-csi-driver-kubernetes-integration |
/test pull-gcp-compute-persistent-disk-csi-driver-kubernetes-integration |
/test pull-gcp-compute-persistent-disk-csi-driver-kubernetes-integration |
/test pull-gcp-compute-persistent-disk-csi-driver-kubernetes-integration |
/test pull-gcp-compute-persistent-disk-csi-driver-kubernetes-integration |
/test pull-gcp-compute-persistent-disk-csi-driver-kubernetes-integration |
/test pull-gcp-compute-persistent-disk-csi-driver-kubernetes-integration |
Fixed in #1857 |
What type of PR is this?
/kind bug
What this PR does / why we need it:
If we use disks.CreateSnapshot, there could be a race condition where snapshot.Status is "READY" but the snapshot creation is not actually done. Snapshots.Insert API avoids this problem.
Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
Does this PR introduce a user-facing change?: